package trans.utils;


public class CommonUtils {
	
	public static String getFileExtention(String fileName){
		if ((fileName != null) && (fileName.length() > 0)) {
            int i = fileName.lastIndexOf('.');

            if ((i >-1) && (i < (fileName.length() - 1))) {
                return fileName.substring(i + 1);
            }
        }
        return "";
	}
}
